package edu.sdjzu.exam.dto;

import lombok.Data;

import javax.management.relation.RoleInfo;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserInfoDTO {
    private Long userId;
    private String username;
    private String email;
    private List<RoleInfo> roles;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    @Data
    public static class RoleInfo {
        private Long roleId;
        private String roleName;
        private String description;
    }
}